<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="/sinopac-fn" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" href="/sinopac/form/CSS/tabs.css">
		<script type="text/javascript" src="/sinopac/js/jQuery/jquery-1.8.2.min.js"></script>
		<script type="text/javascript" src="/sinopac/js/jQuery/jquery_DOMWindow.js"></script>
		<script type="text/javascript" src="/sinopac/js/tools/formUtil.js"></script>
<title>客戶查詢</title>
</head>
<body>
<%@ include file="/form/include/title.jsp" %>
<s:form id="form1">
	<s:hidden name="customerList[0].is_group_main" id="is_group_main"/>
	<s:hidden name="customerList[0].is_group" id="is_group"/>
	<table class="table-style" align="center">
		<tr>
			<th>客戶ID</th>
			<th>客戶名稱</th>
			<th>AO Code</th>
			<th>集團戶</th>
			<th>主帳戶</th>
			<th>Token狀態</th>
			<th>Token ESN</th>
			<th>最後異動日</th>
		</tr>
		<s:iterator value="customerList" status="c" var="cus">
			<tr>
				<td><s:property value="customer_id"/></td>
				<td><s:property value="customer_name"/></td>
				<td><s:property value="ao_code"/></td>
				<td><s:property value="is_group"/></td>
				<td><s:property value="is_group_main"/></td>
				<td><s:property value="tokenStatus"/></td>
				<td><s:property value="token_esn"/></td>
				<td><s:property value="updated_time"/></td>			
			</tr>
		</s:iterator>
	</table>
</s:form>
</body>
</html>